/**
 * @filename:Transfer Dec 15, 2023
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(网页调拨实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_transfer")
@ApiModel(value="t_transfer对象", description="网页调拨表")
public class Transfer extends Model<Transfer> {

	private static final long serialVersionUID = 1702617760358199L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "billNo") 	
	@ApiModelProperty(name = "billNo" , value = "单据编号")
    private String billNo;
    
    @TableField(value = "createDate") 	
	@ApiModelProperty(name = "createDate" , value = "日期")
    private Date createDate;
    
    @TableField(value = "note") 	
	@ApiModelProperty(name = "note" , value = "备注")
    private String note;
    
    @TableField(value = "createUserName")
	@ApiModelProperty(name = "stocker" , value = "创建人")
    private String createUserName;

    @TableField(value = "createUserId")
    @ApiModelProperty(name = "createUserId" , value = "创建人id")
    private Long createUserId;
    
    @TableField(value = "workShop") 	
	@ApiModelProperty(name = "workShop" , value = "车间")
    private String workShop;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "单据状态")
    private String status;

    @TableField(value = "updateUserName")
    @ApiModelProperty(name = "updateUserName" , value = "修改人")
    private String updateUserName;

    @TableField(value = "updateTime",update = "now()")
    @ApiModelProperty(name = "updateTime" , value = "修改时间")
    private Date updateTime;

    @TableField(value = "auditUserName")
    @ApiModelProperty(name = "auditUserName" , value = "审核人")
    private String auditUserName;

    @TableField(value = "auditTime")
    @ApiModelProperty(name = "auditTime" , value = "审核时间")
    private Date auditTime;

    @TableField(value = "taskBillNo")
    @ApiModelProperty(name = "taskBillNo" , value = "关联任务单号")
    private String taskBillNo;

    @TableField(value = "batching")
    @ApiModelProperty(name = "batching" , value = "是否是配料间调拨")
    private Boolean batching;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
